<ng-form name="vm.categoryAccessControlForm">
<vertical-section-layout allow-edit="vm.allowEdit && !vm.isNew" section-title="Access Control" on-save-edit="vm.onSave()" on-edit="vm.onEdit()" keep-editable-after-save="true" editable="vm.isEditable" is-valid="vm.isValid">
  <readonly-section>
    <div>类别角色</div>
    <entity-access-control entity="vm.model" entity-type="category" the-form="vm.categoryAccessControlForm" read-only="true"></entity-access-control>
    <div>管道继承的角色</div>
    <entity-access-control entity="vm.model" entity-type="category-feed" allow-owner-change="false" role-memberships-property="feedRoleMemberships" the-form="vm.categoryAccessControlForm" read-only="true"></entity-access-control>
  </readonly-section>
  <editable-section>
    <div>类别角色</div>
    <entity-access-control entity="vm.editModel" entity-type="category" the-form="vm.categoryAccessControlForm"></entity-access-control>
    <div>管道继承的角色</div>
    <entity-access-control entity="vm.editModel" entity-type="category-feed" allow-owner-change="false" role-memberships-property="feedRoleMemberships" the-form="vm.categoryAccessControlForm"></entity-access-control>
  </editable-section>
</vertical-section-layout>
</ng-form>
